﻿
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Sold.Logs.Entities.Logs;

/// <summary>
/// 报警配置
/// </summary>
public class WarnConfig
{
    /// <summary>
    /// 报警配置ID
    /// </summary>
    [Key]
    public int Id { get; set; }

    /// <summary>
    /// 报警配置变量名称
    /// </summary>
    public string VariableName { get; set; }

    /// <summary>
    /// 报警配置类型
    /// </summary>
    public int Type { get; set; }

    /// <summary>
    /// 报警配置-报警信息
    /// </summary>
    public string? Message { get; set; }

    /// <summary>
    /// 报警触发值
    /// </summary>
    public string? Value { get; set; }

}
